#!/bin/bash

## NoLex ##

# Wiki
xfst -s deriv.nolex.fst -e "apply down < src/wikipedia.list" -stop > out/out.wiki.nolex.txt
# NZZ
xfst -s deriv.nolex.fst -e "apply down < src/nzz.list" -stop > out/out.nzz.nolex.txt
# IMSLex
xfst -s deriv.nolex.fst -e "apply down < src/imslex.list" -stop > out/out.imslex.nolex.txt


## Lex ##

# Wiki
xfst -s deriv.lex.fst -e "apply down < src/wikipedia.list" -stop > out/out.wiki.lex.txt
# NZZ
xfst -s deriv.lex.fst -e "apply down < src/nzz.list" -stop > out/out.nzz.lex.txt
# IMSLex
xfst -s deriv.lex.fst -e "apply down < src/imslex.list" -stop > out/out.imslex.lex.txt